package com.lhhu.demo.service;

import com.lhhu.demo.bean.BookMessage;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/3/6 11:30
 * @Version 1.0
 */
public interface BooksService {
    List<BookMessage> getAllBookMessage();
    int addOneBookMessage(String codes,BookMessage bookMessage);
    int deleteOneBookMessage(String codes,String bookId);
    int updateOneBookMessage(String codes,BookMessage bookMessage);
    List<BookMessage> getOneBookMessageById(String bookId);
    List<BookMessage> getAllBookMessageByISBN(String bookISBN);
    List<BookMessage> getAllBookMessageByName(String bookName);
    List<BookMessage> getAllBookMessageByCategoryId(String bookClassifyId);
    List<BookMessage> getAllBookMessageByCategory(String bookCategory);
    List<BookMessage> getAllBookMessageByTag(String bookTag);
}
